home *** CD-ROM | disk | FTP | other *** search
- Well don't get too excited, this is no big hack, and mostly made of stuff
- I stole from here and there, basically the ftp script that is on sumex that
- allows auto ftping and modified version of a perl script written by
- Jonathan Eunice (jonathan@cs.pitt.edu) that beautifies (???) the mac
- digests from umich.
-
- Of course this isn't like skim.c that does almost everything for you
- except get the files (if you like sumex :) but it is handier IMHO for
- what is does do (and it doesn't involve compiling :)
-
- What *does* it do you ask? Well, this is the run down:
-
- You run out and get a unix box :-)
- Save a copy of the mac.archive.digest to a file.
- Edit the file (with your favorite editor of course), deleting any of the
- programs you don't want (i.e. any line starting with a '/mac/...'
- Save the file.
- Type getit filename
- Voila, all the files show up in a new directory.
-
-
- How to set it up. (for the complete moron)
-
- You sould have gotten the files: README (well I sould say so :)
- getit*
- prnumich*
- getumich*
- sample-input
-
- 1) Make sure you have perl by typing 'perl -v'
-
- 2) Move the files 'getit','prnumich', and 'getumich' to your local bin directory
- If you don't have a local bin dir, edit the file '.cshrc' so that
- there is a line that says 'set lpath = ($HOME/bin)'
- Now find the line that starts with 'set path = (' and ad '$lpath '
- right after the '('
- It should now look like 'set path = ($lpath /blah/blah/blah/... .)'
- Type 'mkdir $HOME/bin'
- then type: 'mv getit $HOME/bin'
- 'mv getumich $HOME/bin'
- 'mv prnumich $HOME/bin'
-
- 3) Edit your .netrc file so that it includes this line:
-
- machine mac.archive.umich.edu login anonymous password your@email.address
-
- Of course, substitiuting your email address for 'your@email.adress'
- If you don't have a .netrc file, just make one.
- Call it '$HOME/.netrc' and put it in your home directory.
-
- 5) Get a mac.archive.digest list. Edit it so that all programs you don't
- want are deleted (that is all the lines that contain '/mac/...' ).
- Any line that starts with a / will be seen as a program to get.
- Save the file (You can use the sample-input file to test getit)
- You might want to cut the mail headers out also (just in case :)
-
- 6) Type 'source $HOME/.cshrc' (or logout and log back in)
-
- 7) Type 'getit filename' (where filename is what you saved the edited digest as)
-
- 8) Wait
-
- You will eventually have the files in a new directory named
- 'new-umich-files.month-hr:min:sec'
-
-
- Enjoy!
-
- --DAVE (johnson@wrs.com)
-
- ps- For those more in tune to the unix god, you can set getit to look in some
- other places for it's files, and there's a couple of other options avail.
- Look in the files getit and getumich.
-
- pss- Let's be kind about when and how many files. A nice thing for you to do
- would be to make a script file and use the 'at' command to get the files
- when the archive isn't so busy ( 'man at' for those interesed).
-